import service from "@/utils/request.js"
/**
 * 读者列表
 */
export function readersList(data = {}){
    return service.request({
        url: "/api/v1/readers/lists",
        method: "post",
        data
    })
}

/**
 * 读者列表
 */
export function readersDeposit(data = {}){
    return service.request({
        url: "/api/v1/readers/deposit",
        method: "post",
        data
    })
}

/**
 * 确认押金
 */
export function readersdeposit(data = {}){
    return service.request({
        url: "/api/v1/readers/deposit",
        method: "post",
        data
    })
}



/**
 * 重置读者
 */
export function readersReset(data = {}){
    return service.request({
        url: "/api/v1/readers/reset",
        method: "post",
        data
    })
}

/**
 * 读者详情
 */
export function readersDetailed(data = {}){
    return service.request({
        url: "/api/v1/readers/detailed",
        method: "post",
        data
    })
}

/**
 * 建卡
 */
export function createcrad(data = {}){
    return service.request({
        url: "/api/v1/readers/createcrad",
        method: "post",
        data
    })
}


/**
 * 读者信息修改
 */
export function udpateupdate(data = {}){
    return service.request({
        url: "/api/v1/readers/update",
        method: "post",
        data
    })
}

/**
 * 读者信息修改
 */
export function userdeposit(data = {}){
    return service.request({
        url: "/api/v1/readers/deposit",
        method: "post",
        data
    })
}

